package com.castle.fortress.admin.study.exam.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Date;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
/**
 * 题目 实体类
 *
 * @author castle
 * @since 2023-02-10
 */
@Data
public class StudyQuestionDto implements Serializable {
	private static final long serialVersionUID = 1L;
	@JsonSerialize(using = ToStringSerializer.class)
	@JsonProperty("id")
	private Long id;
	@JsonSerialize(using = ToStringSerializer.class)
	@JsonProperty("qbId")
	private Long qbId;
	@JsonProperty("questionType")
	private String questionType;
	@JsonProperty("title")
	private String title;
	@JsonProperty("titleImg")
	private String titleImg;
	@JsonProperty("titleMp3")
	private String titleMp3;
	@JsonProperty("optionType")
	private String optionType;
	@JsonProperty("analysis")
	private String analysis;
	@JsonProperty("answer")
	private String answer;
	@JsonProperty("answerA")
	private String answerA;
	@JsonProperty("answerB")
	private String answerB;
	@JsonProperty("answerC")
	private String answerC;
	@JsonProperty("answerD")
	private String answerD;
	@JsonProperty("answerE")
	private String answerE;
	@JsonProperty("answerF")
	private String answerF;
	@JsonProperty("status")
	private Integer status;
	@JsonSerialize(using = ToStringSerializer.class)
	@JsonProperty("createUser")
	private Long createUser;
	@DateTimeFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonProperty("createTime")
	private Date createTime;
	@JsonSerialize(using = ToStringSerializer.class)
	@JsonProperty("updateUser")
	private Long updateUser;
	@DateTimeFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonProperty("updateTime")
	private Date updateTime;
	@JsonProperty("isDeleted")
	private Integer isDeleted;
	@JsonProperty("sort")
	private Integer sort;
	@JsonProperty("createUserName")
	private String createUserName;

}
